<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue.js"></script>
    <script src="element-ui/lib/index.js"></script>

    <link rel="stylesheet" href="element-ui/lib/theme-chalk/index.css">
    <script src="echarts/echarts.min.js"></script>
    <script src="js/axios-0.19.0.js"></script>
    <script src="js/jquery-3.3.1.js"></script>
    <script src="js/jquery-2.2.3.min.js"></script>
</head>
<body>
    <div id="app" align="center">
        <el-row style="margin-top: 100px">
            <div id="main1" style="width: 600px;height:200px;"></div>
        </el-row>
        <form action="/xslx/save" method="post" enctype="multipart/form-data" id="excelfrom">
            <input type="file" value="file" name="file" accept=".xls,.xlsx">
            <input type="submit" value="上传" onclick="CountDown()" >
            <input type="button" @click="downloadExcel" value="下载excel表">
        </form>
        <br />
        <br />
        <br />
        <input type="text" placeholder="填写用户id" v-model="userId" >
        <input type="button" @click="jump" value="提交订单进行付款">
        <br />
        <br />
        <br />
        <input type="button" @click="jumpsoul" value="跳转到测灵魂管理" style="size: A3">
        <br />
        <br />
        <br />
        <input type="button" @click="jumpchuanyin" value="跳转到桃花传音vip管理" style="size: A3">
        <br />
        <br />
        <br />
        <input type="button" @click="jumpaop" value="跳转到aop操作记录" style="size: A3">

    </div>


</body>
<script>


    new Vue({
        el:"#app",
        data:{
            month:"",
            userId:'',
        },
        methods:{
            //导出excel
            exportExcel(){

            },

            //快速入门案例
            start(){

            },
            //生产厂家销售统计
            factory(){


            },
            //系统压力图
            online() {

            },
            jump(){
                location.href = `pay.html?userId=`+this.userId;
            },
            downloadExcel(){
                location.href = "/xslx/downloadexcel";
            },
            jumpsoul(){
                window.location.href="/questionController.html"
            },
            jumpchuanyin(){
                window.location.href="/AdController.html"
            },
            jumpaop(){
                window.location.href="/address.html"
            }
        }
    })
</script>
<script>
    function CountDown() {
    alert("excel正在上传，请等待跳转");
    }
</script>
</html>